// import { fetchGet, fetchFD, fetchPost, fetchJson } from './axios'
import { fetchFD, fetchGet } from './thirdInterface'
// const VUE_APP_API_SPDA_URL = 'http://123.206.135.44:82/index.php';
const VUE_APP_API_SPDA_URL = 'https://sdk02.jibeigames.com:8443/index.php';

export function login(params) {
    return fetchGet(VUE_APP_API_SPDA_URL + '/user/login?aid=' + params.aid)
}

export function aliPayPc(param) {
    return fetchGet(VUE_APP_API_SPDA_URL + '/alipay/index', param)
}

export function aliPayH5(param) {
    return fetchGet(VUE_APP_API_SPDA_URL + '/alipay/h5/index', param)
}

export function wechatPayPc(param) {
    return fetchGet(VUE_APP_API_SPDA_URL + '/wxpay/index', param)
}

export function wechatPayH5(param) {
    return fetchGet(VUE_APP_API_SPDA_URL + '/wxpay/h5/index', param)
}

export function createdOrderId(param) {
    return fetchGet(VUE_APP_API_SPDA_URL + '/order/index', param)
}

export function queryOrderId(param) {
    return fetchGet(VUE_APP_API_SPDA_URL + '/order/query', param)
}

